package com.ph.irp.base.salesprice.dao;

import java.util.List;

import com.ph.irp.model.PBaseSalesprice;

public interface PBaseSalespriceDao {
	/*
	 * 查询销售价格资料
	 */
	public List<PBaseSalesprice> getAllSalespriceList() throws Throwable;
	
	/*
	 * 按照销售价格资料ID查询
	 */
	public PBaseSalesprice getSalespriceByID(Integer salespriceId) throws Throwable;
	
	/*
	 * 按照销售价格Model查询
	 */
	public List<PBaseSalesprice> getSalespriceByModel(PBaseSalesprice salespriceModel) throws Throwable;
	
	/*
	 * 添加销售价格资料
	 */
	public void addSalesprice(PBaseSalesprice salespriceModel) throws Throwable;
	
	/*
	 * 修改选中记录
	 */
	public void updateSalesprice(PBaseSalesprice salespriceModel) throws Throwable;
	
	/*
	 * 删除选中记录
	 */
	public void delectSalesprice(Integer salespriceId) throws Throwable;
}
